﻿		<script type="text/javascript">
			// 鐧惧害鍦板浘API鍔熻兘
			var map = new BMap.Map("mapDiv");    // 鍒涘缓Map瀹炰緥
			map.centerAndZoom(new BMap.Point(120.2099600000,30.2139150000), 15); 
			map.addControl(new BMap.MapTypeControl());   //娣诲姞鍦板浘绫诲瀷鎺т欢
			map.enableScrollWheelZoom(true);     //寮�惎榧犳爣婊氳疆缂╂斁
			addMarker(new BMap.Point(120.2099600000,30.2139150000));
			
			var content = '<div style="margin:0;line-height:20px;padding:2px;">' +
								'<img src="../img/baidu.jpg" alt="" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
								'鍦板潃锛氬寳浜競娴锋穩鍖轰笂鍦板崄琛�0鍙�br/>鐢佃瘽锛�010)59928888<br/>绠�粙锛氱櫨搴﹀ぇ鍘︿綅浜庡寳浜競娴锋穩鍖鸿タ浜屾棗鍦伴搧绔欓檮杩戯紝涓虹櫨搴﹀叕鍙哥患鍚堢爺鍙戝強鍔炲叕鎬婚儴銆� +
							  '</div>';

			//鍒涘缓妫�储淇℃伅绐楀彛瀵硅薄
			var searchInfoWindow = null;
			searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
					title  : "鐧惧害澶у帵",      //鏍囬
					width  : 290,             //瀹藉害
					height : 105,              //楂樺害
					panel  : "panel",         //妫�储缁撴灉闈㈡澘 
					enableAutoPan : true,     //鑷姩骞崇Щ
					searchTypes   :[
						BMAPLIB_TAB_SEARCH,   //鍛ㄨ竟妫�储
						BMAPLIB_TAB_TO_HERE,  //鍒拌繖閲屽幓
						BMAPLIB_TAB_FROM_HERE //浠庤繖閲屽嚭鍙�
					]
				});			
			function addMarker(point){
				  var marker = new BMap.Marker(point);
				  map.addOverlay(marker);//娣诲姞鏍囨敞
				  marker.setAnimation(BMAP_ANIMATION_BOUNCE); //璺冲姩鐨勫姩鐢�
				  marker.addEventListener("click", function(e){
					  searchInfoWindow.open(marker);
				  })
			}
		
		</script>
	<!-- 鍦板浘 鏄剧ず 缁撴潫-->